<template>
  <div class="med-deal">
    <van-sticky>
      <van-nav-bar title="医废处理" left-arrow @click-left="onClickLeft" />
    </van-sticky>
    <div class="the-scan" @click="toRouter">
      <van-image
        width="45px"
        height="45px"
        :src="require('@/assets/imgs/medDeal/1024.png')"
      />
      <span>扫描处置地二维码</span>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
  methods: {
    onClickLeft() {
      this.$router.go(-1);
    },
    toRouter(){
        this.$router.push({
            path:'/topeopleScanCode'
        })
    }
  },
  //请求数据
  created() {},
};
</script>

<style scoped lang ='less' >
.med-deal {
  width: 100vw;
  min-height: 100vh;
  background-color: #f2f2f2;
  .the-scan {
    height: 80px;
    margin: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    & >span{
        margin-left: 10px;
        color: #707070;
    }
  }
}
</style>
